package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 审批流程记录详细表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "approval_record_detail")
public class ApprovalRecordDetail {
    /**
     * 主键ID
     */
    @TableId(value = "ard_id", type = IdType.INPUT)
    private Integer ardId;

    /**
     * 类型详细编号
     */
    @TableField(value = "detail_id")
    private Integer detailId;

    /**
     * 状态：0待审批，1审批通过，2审批拒绝
     */
    @TableField(value = "ard_status")
    private Integer ardStatus;

    /**
     * 流程记录主表id
     */
    @TableField(value = "record_id")
    private Integer recordId;
}